package com.upcode.weighing.vo.req;

import com.upcode.weighing.base.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 检测点信息
 * </p>
 *
 * @author alex
 * @since 2024-07-21
 */
public class DetectPointEditVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 检测点名称
     */
    @ApiModelProperty("检测点名称")
    private String name;

    /**
     * 检测点编号
     */
    @ApiModelProperty("检测点编号")
    private String pointNo;

    /**
     * 当前状态(0离线1在线)
     */
    @ApiModelProperty("当前状态(0离线1在线)")
    private Integer status;

    /**
     * 检测设备类型(1便携式2车载)
     */
    @ApiModelProperty("检测设备类型(1便携式2车载)")
    private Integer deviceType;

    /**
     * 当前登录人
     */
    @ApiModelProperty("当前登录人")
    private String loginingUser;

    /**
     * 当前执法单位
     */
    @ApiModelProperty("当前执法单位")
    private String detectDept;

    /**
     * 当前在线时长(单位s)
     */
    @ApiModelProperty("当前在线时长(单位s)")
    private Integer onlineDuration;

    /**
     * 最后一次离线时长(单位s)
     */
    @ApiModelProperty("最后一次离线时长(单位s)")
    private Integer offlineDuration;

    /**
     * 最后一次离线时间
     */
    @ApiModelProperty("最后一次离线时间")
    private LocalDateTime lastOfflineTime;

    /**
     * 当前使用位置
     */
    @ApiModelProperty("当前使用位置")
    private String location;

    /**
     * 检测点名称
     */
    @ApiModelProperty("检测点纬度")
    private BigDecimal lat;

    /**
     * 检测点编号
     */
    @ApiModelProperty("检测点经度")
    private BigDecimal lng;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getPointNo() {
        return pointNo;
    }

    public void setPointNo(String pointNo) {
        this.pointNo = pointNo;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }
    public String getLoginingUser() {
        return loginingUser;
    }

    public void setLoginingUser(String loginingUser) {
        this.loginingUser = loginingUser;
    }
    public String getDetectDept() {
        return detectDept;
    }

    public void setDetectDept(String detectDept) {
        this.detectDept = detectDept;
    }
    public Integer getOnlineDuration() {
        return onlineDuration;
    }

    public void setOnlineDuration(Integer onlineDuration) {
        this.onlineDuration = onlineDuration;
    }
    public Integer getOfflineDuration() {
        return offlineDuration;
    }
    public void setOfflineDuration(Integer offlineDuration) {
        this.offlineDuration = offlineDuration;
    }
    public LocalDateTime getLastOfflineTime() {
        return lastOfflineTime;
    }

    public void setLastOfflineTime(LocalDateTime lastOfflineTime) {
        this.lastOfflineTime = lastOfflineTime;
    }
    public String getLocation() {
        return location;
    }
    public void setLocation(String location) {
        this.location = location;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }

    @Override
    public String toString() {
        return "DetectPointEditVo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pointNo='" + pointNo + '\'' +
                ", status=" + status +
                ", deviceType=" + deviceType +
                ", loginingUser='" + loginingUser + '\'' +
                ", detectDept='" + detectDept + '\'' +
                ", onlineDuration=" + onlineDuration +
                ", offlineDuration=" + offlineDuration +
                ", lastOfflineTime=" + lastOfflineTime +
                ", location='" + location + '\'' +
                '}';
    }


}
